/* 评论样式 */
.comment-list {
  margin: 20rpx;
  background: #fff;
  border-radius: 12rpx;
  padding: 20rpx;
}

.comment-item {
  margin-bottom: 30rpx;
  
  &.main-comment {
    border-bottom: 1px solid #eee;
    padding-bottom: 20rpx;
  }
}

/* 主评论样式 */
.main-comment-content {
  display: flex;
  
  .avatar {
    width: 80rpx;
    height: 80rpx;
    border-radius: 50%;
    margin-right: 20rpx;
  }
  
  .content-wrapper {
    flex: 1;
    
    .username {
      font-weight: 600;
      font-size: 28rpx;
      color: #333;
    }
    
    .comment-text {
      margin: 10rpx 0;
      font-size: 28rpx;
      color: #666;
      line-height: 1.6;
    }
    
    .comment-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 24rpx;
      color: #999;
      
      .actions {
        display: flex;
        gap: 20rpx;
      }
    }
  }
}

/* 回复样式 */
.reply-container {
  margin-left: 100rpx;
  margin-top: 20rpx;
  background: #f8f8f8;
  border-radius: 8rpx;
  padding: 15rpx;
}

.reply-item {
  margin-bottom: 15rpx;
  padding: 10rpx;
  background: #fff;
  border-radius: 6rpx;
  
  &:last-child {
    margin-bottom: 0;
  }
  
  .reply-content {
    display: flex;
    
    .reply-avatar {
      width: 60rpx;
      height: 60rpx;
      border-radius: 50%;
      margin-right: 15rpx;
    }
    
    .reply-body {
      flex: 1;
      
      .reply-header {
        display: flex;
        align-items: center;
        font-size: 26rpx;
        
        .reply-username {
          color: #333;
          font-weight: 500;
        }
        
        .reply-to {
          color: #999;
          margin: 0 8rpx;
          
          &::before {
            content: "回复";
            margin-right: 5rpx;
          }
        }
        
        .target-username {
          color: #333;
          font-weight: 500;
        }
      }
      
      .reply-text {
        margin: 8rpx 0;
        font-size: 26rpx;
        color: #666;
        line-height: 1.5;
      }
      
      .reply-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 22rpx;
        color: #999;
        
        .reply-actions {
          display: flex;
          gap: 15rpx;
        }
      }
    }
  }
}

/* 操作按钮样式 */
.action-btn {
  display: flex;
  align-items: center;
  gap: 5rpx;
  
  .icon {
    font-size: 24rpx;
  }
  
  &.liked {
    color: #ff6b6b;
  }
}

/* 加载更多样式 */
.load-more {
  text-align: center;
  padding: 20rpx;
  color: #999;
  font-size: 26rpx;
} 